AMD/IOMMU: Clean up the allocation helpers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Sep 2018 15:37:42 +0000 (16:37 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Feb 2020 18:01:52 +0000 (18:01 +0000)
commitd0bc4cd3ae6b9f48e7fc782cdf0cc1073cf8cec1
tree290c47e90fabce20a75c3c6f2219e763d9b07b6d
parent8767ab6b11b5b37a27094bd16a2ab5765456dcaa
AMD/IOMMU: Clean up the allocation helpers

Conform to style, drop unnecessary local variables, and avoid opencoding
clear_domain_page().

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/amd/iommu.h